package cn.ly.bank;

public class BankApp {
	
	public static void main(String[] args) {
		//创建一个对象
		BankAccount bal = new BankAccount(100.00);
		System.out.println("before transaction:");
		bal.display();
		//存款
		bal.deposit(74.35);
		//bal.display();
		bal.withdraw(20.00);
		//bal.display();
		System.out.println("after transaction:");
		bal.display();
	}

}
